@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
  --menu-width: 210px;
}
html,
body,
#app {
  height: 100vh;
  overflow: hidden;
}
* {
  box-sizing: border-box;
}

#nprogress .bar {
  background: rgb(var(--primary-6)) !important;
}

.arco-trigger-menu-icon-suffix::before {
  content: '';
  display: inline-block;
  flex: 1;
}

.form-item__require label::before {
  content: '*';
  color: #f00;
  margin-right: 5px;
}

.form-item__no_require label::before {
  content: '';
  margin-right: 10px;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: inline-block;
  vertical-align: baseline;
}

.card-border-radius {
  border-radius: var(--border-radius-large) !important;
}
.card-border-radius:hover {
  box-shadow: 0px 0px 10px #ddd;
}

/* .arco-pagination-item-active {
  color: var(--color-white) !important;
}

.arco-pagination-item-active:hover {
  color: var(--color-white) !important;
} */

.arco-modal-simple {
  padding: 24px 24px 16px;
}
.arco-modal-simple .arco-modal-footer {
  text-align: right;
}
/* button */
.arco-btn-size-medium {
  font-size: 12px;
  line-height: 32px;
  border-radius: 4px;
  padding: 0 12px;
}
.gray-outline {
  background-color: #fff !important;
  border: 1px solid var(--color-border) !important;
}
.gray-outline:hover {
  background-color: #fff !important;
  border: 1px solid rgb(var(--primary-6)) !important;
  color: rgb(var(--primary-6)) !important;
}
.arco-btn-size-small {
  font-size: 12px;
}
/* table */
.arco-table-element .arco-table-cell {
  padding: 2px 8px;
}
.arco-table-element .arco-table-th .arco-table-cell {
  min-height: 37px;
  font-weight: bold;
}

.arco-table-element .arco-table-td .arco-btn-text {
  padding: 0 !important;
}

.arco-btn-text {
  padding: 0;
}

.arco-btn-text:hover {
  background: transparent !important;
}

.arco-table-element .popup-edit-icon {
  font-size: 12px;
  margin-left: 5px;
  flex-shrink: 0;
  cursor: pointer;
  display: inline-block;
  color: rgb(var(--gray-10));
}
.arco-table-element .popup-edit-icon-hover {
  display: none;
}
.arco-table-element .arco-table-tr:hover .popup-edit-icon-hover {
  display: inline-block;
}
/* 单行高度 */
.table-normal-line .arco-table-cell {
  padding: 5px 5px;
}
/* 单行高度 */
.table-singe-line .arco-table-td {
  height: 40px;
}
/* 双行高度 */
.table-two-line .arco-table-td {
  height: 50px;
}
.show-border-table .arco-table-tr:last-of-type .arco-table-td {
  border-bottom: 1px solid var(--color-neutral-3) !important;
}
.table-gl-w {
  height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
}
.table-gl-w .search-w {
  padding: 5px 10px 0;
  background-color: #fff;
}
.table-gl-w .table-gl-con {
  background-color: #fff;
  margin-top: 5px;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
}
.table-gl-w .table-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
}
.table-gl-w .table-con {
  flex: 1;
  overflow-y: hidden;
}
.table-gl-w .table-con .arco-table {
  height: 100%;
}
.arco-table .table-btn-more {
  cursor: pointer;
  color: rgb(var(--primary-6));
  stroke-width: 5;
  font-size: 14px;
}
.arco-table .arco-table-container {
  height: 100%;
}
.arco-table .arco-scrollbar-container .arco-scrollbar:nth-child(2) {
  height: 100%;
}
.pagination-footer {
  display: flex;
  justify-content: flex-end;
  margin: 0 20px 5px;
}

.arco-input-wrapper,
.arco-select-view,
.arco-textarea-wrapper,
.arco-picker {
  background-color: #fff;
  border: 1px solid #dadde2;
}
.arco-input-wrapper:hover,
.arco-select-view:hover,
.arco-textarea-wrapper:hover,
.arco-picker:hover {
  background-color: #fff;
  border-color: #86909c;
}
.arco-icon {
  stroke-width: 3;
}

.btn-tooltip .arco-popover-popup-content {
  font-size: 12px;
  padding: 5px 16px;
}
.flex {
  display: flex;
}
.flex-wrap {
  display: flex;
  flex-wrap: wrap;
}
.flex-c {
  display: flex;
  align-items: center;
}
.flex-c-sb {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flex-c-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.flex-c-c {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* .arco-trigger-popup{
  width: 150px;
} */

.fl {
  float: left;
}

.fr {
  float: right;
}
.cursor {
  cursor: pointer;
}
.highlight {
  color: rgb(var(--primary-6));
}
.warningColor {
  color: rgb(var(--danger-6));
}

.text-limit {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.text-limit-two {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.clearfix::after {
  content: '';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.btn {
  border-radius: 5px;
}

.arco-space-item {
  margin-bottom: 0 !important;
}

.arco-input-prepend {
  background-color: white !important;
  border: 1px solid #dadde2 !important;
  border-right: none;
}

.double-sel {
  display: flex;
}
.double-sel .second {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  outline: none;
  border-color: none;
}

.double-sel .first {
  border-right: none;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.category .arco-select-view-size-medium {
  border-radius: 5px;
}
.table-model .arco-table-th {
  background-color: #fff;
  border-bottom: 1px solid var(--color-neutral-3);
  font-size: 14px;
}
.table-model .arco-table-th .arco-table-cell {
  font-weight: normal;
}
.table-model-wrap {
  border: 1px solid var(--color-neutral-3);
  border-radius: 10px;
  overflow: hidden;
}
.arco-btn .arco-icon-down {
  margin-left: 5px;
}
.arco-image-error-alt {
  display: none;
}
.arco-select-view-single .arco-select-view-suffix {
  padding-left: 5px;
}

.arco-tabs-content {
  padding-top: 0;
}

.mt10 {
  margin-top: 10px;
}

.ml10 {
  margin-left: 10px;
}

.mr10 {
  margin-right: 10px;
}

.mb10 {
  margin-bottom: 10px;
}

.mt5 {
  margin-top: 5px;
}

.ml5 {
  margin-left: 5px;
}

.mr5 {
  margin-right: 5px;
}

.mb5 {
  margin-bottom: 5px;
}

.required::before {
  display: inline-block;
  content: '*';
  color: red;
  font-size: 18px;
}

.title-bar {
  position: relative;
  padding-left: 10px;
  height: 30px;
  line-height: 30px;
  font-size: 13px;
  font-weight: 700;
}

.title-bar::after {
  position: absolute;
  left: 0;
  top: 5px;
  display: inline-block;
  content: '';
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background-color: #165dff;
}

.time-text {
  font-size: 12px;
  color: #7f7f7f;
}

.productSpecification-con .arco-popconfirm-icon {
  display: none !important;
}

.arco-typography-operation-copy {
  display: none;
}

.arco-typography {
  display: flex;
  align-items: center;
}

.arco-typography:hover .arco-typography-operation-copy {
  display: inline-block;
}

.modal-footer {
  width: 100%;
  text-align: right;
}

.common-text {
  font-size: 12px;
  color: #a39999;
}
